import request from '@/utils/request'

// 查询访问审批记录列表
export function listActivity_records(query) {
  return request({
    url: '/exam/activity_records/list',
    method: 'get',
    params: query
  })
}

// 查询访问审批记录详细
export function getActivity_records(id) {
  return request({
    url: '/exam/activity_records/' + id,
    method: 'get'
  })
}

// 新增访问审批记录
export function addActivity_records(data) {
  return request({
    url: '/exam/activity_records',
    method: 'post',
    data: data
  })
}

// 修改访问审批记录
export function updateActivity_records(data) {
  return request({
    url: '/exam/activity_records',
    method: 'put',
    data: data
  })
}

// 删除访问审批记录
export function delActivity_records(id) {
  return request({
    url: '/exam/activity_records/' + id,
    method: 'delete'
  })
}
